//
//  BigImageViewController.m
//  YYPHSpeedJump
//
//  Created by speedjump on 16/2/4.
//  Copyright © 2016年 sujiang. All rights reserved.
//

#import "BigImageViewController.h"

@interface BigImageViewController ()

@end

@implementation BigImageViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.bigImage.contentMode = UIViewContentModeScaleAspectFit;
    [self.bigImage sd_setImageWithURL:[NSURL URLWithString:self.imgUrl] placeholderImage:nil];
    self.bigImage.backgroundColor = [UIColor whiteColor];
    self.navigationController.navigationBar.hidden =YES;
    self.scrolllV.scrollEnabled = NO;
    UITapGestureRecognizer *firstTap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(handleSingleTap1:)];
    firstTap.numberOfTouchesRequired = 1;
    [self.bigImage.superview addGestureRecognizer:firstTap];
    
}
- (void)handleSingleTap1:(UIButton*)btn
{
    [self.navigationController popViewControllerAnimated:YES];
    self.navigationController.navigationBar.hidden =NO;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
